package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

@Data
public class WeightTableBean {

    private static final long serialVersionUID = 1L;

    /**
     * 参数主键
     */
    @Excel(name = "体重主键", cellType = Excel.ColumnType.NUMERIC)
    private Integer id;

    /**
     * 当日体重
     */
    @Excel(name = "当日体重", cellType = Excel.ColumnType.NUMERIC)
    private Double weight;

    /**
     * 用户id
     */
    @Excel(name = "用户id", cellType = Excel.ColumnType.NUMERIC)
    private Integer userId;


    /**
     * 当天的日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "当天的日期", cellType = Excel.ColumnType.STRING)
    private Date todayDate;

}
